package com.nidu.demo.user.model;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

import java.time.LocalDateTime;

/**
 * 用户创建事件
 */
@Getter
@RequiredArgsConstructor
public class UserCreatedEvent {
    /**
     * 用户ID
     */
    private final Long userId;

    /**
     * 用户名
     */
    private final String username;

    /**
     * 邮箱
     */
    private final String email;

    /**
     * 租户ID
     */
    private final Long tenantId;

    /**
     * 创建时间
     */
    private final LocalDateTime createTime;
}